package com.study.reflect.example2;

/**
 * @Author HBZ
 * @Date 2020/7/29 23:43
 * @Description
 */
public class Test {
    public static void main(String[] args) {
        Dog dog1=new DogImpl1();
        dog1=(Dog) MyProxyFactory.getProxy(dog1);
        dog1.info();
        dog1.run();
    }
}
